package com.fgxia.driver.service;

import com.fgxia.driver.domain.bo.DriverFreightBo;
import com.fgxia.driver.domain.vo.OrderFreightInfoVo;
import com.ruoyi.business.domain.FreightInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

import java.util.List;

/**
 * driver freight info service
 *
 * @author yyt
 */
public interface IDriverFreightService {


    Boolean pickup(DriverFreightBo driverFreightBo);

    Boolean discharge(DriverFreightBo driverFreightBo);

    Boolean receipt(DriverFreightBo driverFreightBo);

    Boolean insertByBo(DriverFreightBo driverFreightBo);

    Boolean checkFreightStatus(Long freightId, String freightStatus);

    TableDataInfo<OrderFreightInfoVo> selectOrderFrightPage(Long relevanceUserId,
                                                            List<String> freightStatusList,
                                                            PageQuery pageQuery);
}
